package com.eunion.core.common;

/**
 * Ztree Vo , String key 值.
 * 
 * @since 2016年12月25日
 */
public class ZtreeStringVo {

	private String id;

	private String pId;

	private String name;

	private String title;

	private Boolean chkDisabled = false;//是否允许选择

	private Boolean checked = false;//是否选中

	private Boolean open = true;//父级是否展开

	public ZtreeStringVo() {
		super();
	}

	public ZtreeStringVo(String id, String pId, String name,Integer status) {
		super();
		this.id = id;
		this.pId = pId;
		this.name = name;
		this.title = name;
		if(status != 1){
			chkDisabled = true;//不为可用状态，就设置为删除
		}
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getpId() {
		return pId;
	}

	public void setpId(String pId) {
		this.pId = pId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Boolean getOpen() {
		return open;
	}

	public void setOpen(Boolean open) {
		this.open = open;
	}

	public Boolean getChkDisabled() {
		return chkDisabled;
	}

	public void setChkDisabled(Boolean chkDisabled) {
		this.chkDisabled = chkDisabled;
	}

	public Boolean getChecked() {
		return checked;
	}

	public void setChecked(Boolean checked) {
		this.checked = checked;
	}

}
